DownloadInterruptReason

The download interrupt reasons.

Entries

Link copied to clipboard

The reason is unknown.

Link copied to clipboard

Generic file operation failure.

Link copied to clipboard

The file cannot be accessed due to security restrictions.

Link copied to clipboard

There is not enough room on the drive.

Link copied to clipboard

The directory or file name is too long.

Link copied to clipboard

The file is too large for the file system to handle.

Link copied to clipboard

The file contains a virus.

Link copied to clipboard

The file was in use. Too many files are opened at once. We have run out of memory.

Link copied to clipboard

The file was blocked due to local policy.

Link copied to clipboard

An attempt to check the safety of the download failed due to unexpected reasons.

Link copied to clipboard

An attempt was made to seek past the end of a file in opening a file (as part of resuming a previously interrupted download).

Link copied to clipboard

The partial file didn't match the expected hash.

Link copied to clipboard

The source and the target of the download were the same.

Link copied to clipboard

Generic network failure.

Link copied to clipboard

The network operation timed out.

Link copied to clipboard

The network connection has been lost.

Link copied to clipboard

The server has gone down.

Link copied to clipboard

The network request was invalid. This may be due to the original URL or a redirected URL:

Link copied to clipboard

The server indicates that the operation has failed (generic).

Link copied to clipboard

The server does not support range requests.

Link copied to clipboard

The server does not have the requested data.

Link copied to clipboard

Server didn't authorize access to resource.

Link copied to clipboard

Server certificate problem.

Link copied to clipboard

Server access forbidden.

Link copied to clipboard

Unexpected server response. This might indicate that the responding server may not be the intended server.

Link copied to clipboard

The server sent fewer bytes than the content-length header. It may indicate that the connection was closed prematurely, or the Content-Length header was invalid. The download is only interrupted if strong validators are present. Otherwise, it is treated as finished.

Link copied to clipboard

The user canceled the download.

Link copied to clipboard

The user shut down the browser.

Link copied to clipboard

The browser crashed.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.